package cn.wen233.core.mapper;

import cn.wen233.basic.model.NodeRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 节点记录 mapper
 *
 * @author wenjie
 * @date 2022-05-07 10:02
 */
@Repository
public interface NodeRecordMapper {

    List<NodeRecord> selectAllNodeRecord(@Param("start") int start, @Param("size") int size);

    int selectNodeRecordSumCount();

    List<NodeRecord> selectNodeRecordByServiceId(@Param("serviceId") String serviceId);

    void insertNodeRecord(NodeRecord nodeRecord);
}
